<template>
    <button @click="btn">点击发送请求</button>
</template>

<script setup lang="js" name="test">
import axios from 'axios';
import { getList } from '../Api/api';

function btn() {
    getList();
}
</script>

<style></style>